/** \file    VecInd.h
  * \brief   Definition of VecInd structure.
  * \date    2003
  * \author  Fedor Chelnokov
  * \version $Header: /home/cscom1r4/cvsroot/cs/include/segm/VecInd.h,v 1.1 2004/05/20 09:11:45 cscom1r4 Exp $
  */

#ifndef _VecInd_h_
#define _VecInd_h_

#include "vec2d/vec2d.h"
#include "typelib/types.h"

//combination: vector + int index
struct VecInd: public vec2d::Vec2d {
	int ind;
	VecInd() {}
	VecInd(const vec2d::Vec2d & x) : vec2d::Vec2d(x) {}
	VecInd(const double_point & x) : vec2d::Vec2d(x.x, x.y) {}
	VecInd(const vec2d::Vec2d & x, int _ind) : vec2d::Vec2d(x), ind(_ind) {}
	VecInd(const double_point & x, int _ind) : vec2d::Vec2d(x.x, x.y), ind(_ind) {}
};

#endif //_VecInd_h_
